package myNetty.action1;

/**
 * @author tonywang
 * @date 7/25/2018
 */
public class Data {
    private int m;
    private int n;

    public Data(int n,int m){
        this.n = n;
        this.m = m;
    }


    public int getM() {
        return m;
    }

    public void setM(int m) {
        this.m = m;
    }

    public int getN() {
        return n;
    }

    public void setN(int n) {
        this.n = n;
    }

    @Override
    public String toString() {
        int r = n/m;
        return n + "/" + m +" = " + r;
    }

}
